const updateMerchantInfo = require("./updateMerchantInfo/index");
const getMerchantInfo = require("./getMerchantInfo/index");

// 云函数入口函数
exports.main = async (event, context) => {
    switch (event.type) {
        case "updateMerchantInfo":
            return await updateMerchantInfo.main(event, context);
        case "getMerchantInfo":
            return await getMerchantInfo.main(event, context);
    }
};